SetResFileAttrs
short rfRefNum ; reference number of an open resource file
short rfAttrs ; desired new attributes for the file
resource file is marked as read-only, has changed, or needs compacting. This
is needed rarely, since file attributes are modified automatically by the
r fRefNum identifies the resource file whose attributes you wish to modify. It
resource file.
rfAttrs identifies the desired attributes you wish to apply to the resource
file. See below..
Notes: Resource file attributes are defined as follows:
In the 64K ROMs, it was necessary to set mapCompact manually if you
wanted to recover the file space that had been occupied by a resource after it
was shortened. Since this was fixed, there was little reason to modify
resource file attributes.